-
Notifications
You must be signed in to change notification settings - Fork 121
[Bookings] Booking details part 7 #16234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
| booking.startDate.formatted(date: .omitted, time: .shortened), | ||
| booking.endDate.formatted(date: .omitted, time: .shortened) | ||
| booking.startDate.toString(dateStyle: .none, timeStyle: .short, timeZone: BookingListTab.utcTimeZone), | ||
| booking.endDate.toString(dateStyle: .none, timeStyle: .short, timeZone: BookingListTab.utcTimeZone) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please elaborate on why utcTimeZone is used for formatting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the Huong's suggestion here: #16214 (review)
There is discussion thread about timezone usage for bookings: p1759398245019489-slack-C09FHQNQERG where it's confirmed that we should use the UTC timezone
|
@adborbas Thx for the review.
Trailing line removed in 9a8dfa5
This is how it's done elsewhere (for example in "Order details" screen). For now I would stick to existing approach unless there is a clear input from design. I'm also looking into making the detail section narrow in the same way we have it for Order Details. I guess this will make the popup appearance more understandable.
Same here - I'd just follow the design for MVP purposes. We can re-iterate and follow the same approach that we have in Order Details to present action sheet for email instead of just copying. |




Part of: WOOMOB-1236
Description
Testing steps
Screenshots
RELEASE-NOTES.txtif necessary.